using SinBiota.Model.Entities;
using FluentNHibernate.Mapping;

namespace SinBiota.Model.Persistence.NHibernateMappings
{
	//this overrides the default automapping because of field length requirements 

    public class MethodMapping : BaseEntityMapping<Method> 
    {
        public MethodMapping()
        {
            Map(c => c.Name).Not.Nullable().Length(500);
            Map(c => c.Description).Nullable().Length(1000);
        }
    }
}
